home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / public / SciAn / src / ScianNoLightRGBDraw.h < prev    next >
Text File  |  1994-08-01  |  541b  |  34 lines

  1. /*ScianNoLightRGBDraw.h
  2.   Eric Pepke
  3.   June 16, 1991
  4.  
  5.   No light RGB mode picture drawing traversal.  It's an include file to 
  6.   limit the amount of typing I have to do.  I would have made it a macro,
  7.   but it has #defines
  8. */
  9.  
  10.         switch (curColorShading)
  11.         {
  12.             case NOCOLOR:
  13. #define P PRNN
  14. #define V VRNN
  15.             TRAVERSE;
  16. #undef P
  17. #undef V
  18.             break;
  19.             case MONOCOLOR:
  20. #define P PRNM
  21. #define V VRNM
  22.             TRAVERSE;
  23. #undef P
  24. #undef V
  25.             break;
  26.             case SMOOTHCOLOR:
  27. #define P PRNS
  28. #define V VRNS
  29.             TRAVERSE;
  30. #undef P
  31. #undef V
  32.             break;
  33.         }
  34.